using System;
using System.Collections.Generic;
using System.Windows.Forms;


namespace GeradorDotNet
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            frmConfigurarBanco frm = new frmConfigurarBanco();
            if (frm.ShowDialog() == DialogResult.OK) {
                
                GeradorNAT principal = new GeradorNAT();
                if (principal.ShowDialog() == DialogResult.OK)
                {
                    frmArquivos arquivos = new frmArquivos();
                    arquivos.ProjectName = frm.ProjectName;
                    arquivos.tabelas = principal.Tabelas;
                    Application.Run(arquivos);
                }
            }
            
        }
    }
}